[NTG-context] floats re-ordering and numbering

2024-04-22 Thread denis.maier
%%% \setupexternalfigures [location={local,global,default}] \setupfloats[compress=no] \setupfloat[figure][default=top] \starttext \input knuth \placefigure{Cow 1}{\externalfigure[cow][ width=.5\textwidth, ]} \placefigure{Cow 2}{\externalfigure[cow

[NTG-context] Re: Weird (?) float placement for specific widths of image

2024-04-19 Thread Wolfgang Schuster
the dimensions to get rid of that. \setupfloats[compress=no] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl

Re: [NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Wolfgang Schuster via ntg-context
,    after=\blank,   background=] \setupfloats   [freeregion=no] \definedescription   [Definition]   [alternative=top,   text={Definition: }, title=yes,     before=\startOliver, after=\stopOliver, inbetween={\blank[medium]}] \startbuffer[sampletext

[NTG-context] Question about text backgrounds

2022-09-03 Thread Alexandre Christe via ntg-context
Hmmm it seems the trick lies in adding \setupfloats [freeregion=no] ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl

Re: [NTG-context] Parameter order in float location matters

2021-11-30 Thread Marco Patzer via ntg-context
ify the other, AFAIK. Which is a bit unfortunate since the placement belongs in an environment and not the running text (it's a style decision after all). Take the following example: \setupfloats [figure] [default=top] \setupfloats [table] [default=bottom] %% \setupfloats [table] [default=

Re: [NTG-context] french translation of ConTeXt interface - progress (v3)

2020-07-19 Thread Pablo Rodriguez
hind it. The default is "indentnext=no" for \setupheads and \setupfloats. The pattern is clear: see what comes before the unindented paragraph. BTW, I don’t understand this: \langueprincipale[fr] \langue[fr] Is \mainlanguage not enough? (This would also set \language.) \mainlanguage[f

Re: [NTG-context] Text around a figure

2020-07-16 Thread Fabrice Couvreur
Hi Otared and Wolfgang, It's great, the following code does the job! Thank you so much. Fabrice \useMPlibrary[dum] \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \setupfloats[freeregion=no] \definetextbackground[fondpaille] [background=color, backgroundcolor=fondpaille

Re: [NTG-context] Text around a figure

2020-07-16 Thread Wolfgang Schuster
, paragraph backgroundoffset=4pt] % change the value here It's a float feature which can be disabled. \setupfloats[freeregion=no] Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] commands manual (setup-en.pdf) organized by topic

2018-12-06 Thread Hans Hagen
) What is the difference of singular and plural commands like \setupfloat and \setupfloats. Does the singular always inherit from the plural? And why? in most cases they're synonyms I have a limited understanding of the \defineX \setupX and \X line, but would love to hear more. just try one

Re: [NTG-context] commands manual (setup-en.pdf) organized by topic

2018-12-05 Thread Jan U. Hasecke
ommands like \setupfloat and \setupfloats. Does the singular always inherit from the plural? And why? I have a limited understanding of the \defineX \setupX and \X line, but would love to hear more. And lately I often see here that setups are named like "foo:bar". What is the meaning of the double

Re: [NTG-context] \definetextbackground does not fill tables within

2018-08-15 Thread Xavier B.
> > within, the table does not get filled with color. Any solution? > \setupfloats[table][freeregion=no] > Thanks a lot, Hans. It works. Does it have any collateral effects? ___ If your question is of

Re: [NTG-context] \definetextbackground does not fill tables within

2018-08-14 Thread Alan Braslau
On Tue, 14 Aug 2018 09:49:05 +0200 Hans Hagen wrote: > > I have simple document which I define my \definetextbackground: > > \startteoria and \stopteoria (see below). When I use it and put table > > within, the table does not get filled with color. Any solution? &g

Re: [NTG-context] \definetextbackground does not fill tables within

2018-08-14 Thread Hans Hagen
On 8/13/2018 11:37 PM, dxpubl...@posteo.net wrote: Hi, I have simple document which I define my \definetextbackground: \startteoria and \stopteoria (see below). When I use it and put table within, the table does not get filled with color. Any solution? \setupfloats[table][freeregion

Re: [NTG-context] margin of left/right floats

2018-04-04 Thread Hans Hagen
can I setup/change the margin beside a float (image) that is placed left or right? \setupfloats[margin=3cm] I thought there should be a setting like that, but it’s missing in http://wiki.contextgarden.net/Command/setupfloat I’ll add it. I didn’t check what left/rightmargindistance does

Re: [NTG-context] margin of left/right floats

2018-04-04 Thread Henning Hraban Ramm
/change the margin beside a float (image) that is placed left >> or right? >\setupfloats[margin=3cm] I thought there should be a setting like that, but it’s missing in http://wiki.contextgarden.net/Command/setupfloat I’ll add it. I didn’t check what left/rightmargindistance does,

Re: [NTG-context] margin of left/right floats

2018-04-03 Thread Hans Hagen
On 4/3/2018 6:56 PM, Henning Hraban Ramm wrote: Hello again, this should be a simple question, but I didn’t find anything (or probably didn’t look at the right places): How can I setup/change the margin beside a float (image) that is placed left or right? \setupfloats[margin=3cm

Re: [NTG-context] Colored rule using MPgraphic

2017-05-17 Thread Hans Hagen
fix this? you can try \setupfloats [freeregion=no] see details.pdf in the doc subtree Kind regards, Jan Willem \definetextbackground [Example] [mp=background:rule,location=paragraph, rulethickness=3pt,framecolor=red, leftoffset=1em,rightoffset=1em, toptoffset=1em

[NTG-context] float pages again

2017-04-05 Thread Florian Grammel
that LeTeX puts in to collect abundant top- and here-floats. There can -- in contrast to contex’s default=page -- be more than one float on such a page and there is no running text. In a LaTeX-setup correcponding to: %\setupfloats[nlines=15] \setupfloat[figure][default={here,top,bottom,page

Re: [NTG-context] Textbackground issue with margin pictures

2017-04-03 Thread Hans Hagen
r (Ctx Beta): http://d.pr/i/1gyi Is this a bug? \definetextbackground [test] [location=paragraph] \setupfloat[figure][freeregion=no] Thank you, Hans, this works absolutely great! Two little questions: I have set it now globally for _all_ floats as \setupfloats[freeregion=no]. At a first

Re: [NTG-context] Textbackground issue with margin pictures

2017-04-03 Thread Tom
.pr/i/Xgtc >> Non-desired behavior (Ctx Beta): http://d.pr/i/1gyi >> >> Is this a bug? > > \definetextbackground [test] [location=paragraph] > > \setupfloat[figure][freeregion=no] Thank you, Hans, this works absolutely great! Two little questions: I have s

Re: [NTG-context] \setupfooter[color=red]: red color spills with float over next page

2016-12-04 Thread Benjamin Buchmuller
t, the entire page > including the figure’s rulers, caption, and the regular text prints in red > (but not bold!?) when I incorporate the file via \component … into my > project, but not when I typeset from within \startcomponent … \stopcomponent. > > Since “bold” does no

Re: [NTG-context] \setupfooter[color=red]: red color spills with float over next page

2016-12-04 Thread Hans Hagen
project, but not when I typeset from within \startcomponent … \stopcomponent. Since “bold” does not seem to float the same way, I guess it is related to color handling at page breaks somehow. I already tried to \setupfloats[before=\strut] to “force” black bodyfont right before the figure (at least

[NTG-context] \setupfooter[color=red]: red color spills with float over next page

2016-12-03 Thread Benjamin Buchmuller
mponent … \stopcomponent. Since “bold” does not seem to float the same way, I guess it is related to color handling at page breaks somehow. I already tried to \setupfloats[before=\strut] to “force” black bodyfont right before the figure (at least this is what I intended to do), but did not work.

Re: [NTG-context] Indentation after margin float with caption

2016-09-06 Thread Aditya Mahajan
Aditya. It seems that it is not yet clear to me (or Aditya, as far as I understand from the reply) which float placements that respects the \setupfloats[indentnext=yes] and which not. Or more importantly, why. To make this email thread more complete, the solution of Aditya adds \unprotect

Re: [NTG-context] Indentation after margin float with caption

2016-09-06 Thread Wolfgang Schuster
as far as I understand from the reply) which float placements that respects the \setupfloats[indentnext=yes] and which not. Or more importantly, why. To make this email thread more complete, the solution of Aditya adds \unprotect \def\page_one_place_float_auto {\page_one_place_float_oth

Re: [NTG-context] Indentation after margin float with caption

2016-09-06 Thread Mikael P. Sundqvist
argument to the float, then the > next paragraph is indented. Otherwise not. Is it a bug or a feature? > > Best regards, Mikael > > \setupindenting[yes,medium] > > \setupfloats[indentafter=yes] > > \starttext > > \input tufte > > \placefigure[outermargin,middle]{}{\

[NTG-context] Indentation after margin float with caption

2016-09-02 Thread Mikael P. Sundqvist
, Mikael \setupindenting[yes,medium] \setupfloats[indentafter=yes] \starttext \input tufte \placefigure[outermargin,middle]{}{\blackrule[width=1cm,height=1cm]} This should be indented, but it is not! \input tufte \input tufte \placefigure[outermargin,middle,none]{}{\blackrule[width=1cm

Re: [NTG-context] Figure-text alignment and wrapping text more tightly

2016-09-01 Thread Mikael P. Sundqvist
his example, regarding 1) and 2): \setupexternalfigures[order={pdf,png,jpg}, location={local,global,default}] \starttext \useexternalfigure[figure][mill] \placefigure[right, high, none]{}{\externalfigure[figure]} \input ward \placefigure[right, high, none]{}{\externalfigure[figure]} \input ward \input w

[NTG-context] footnotes in floating tables

2015-07-19 Thread Henry House
I am using the following to style floating tables and am having some difficulties with footnotes in the tables. \enableregime[utf] \setupbodyfont[modern] \setupbodyfont[11pt] \setupfloats[location=middle,spacebefore=0ex,spaceafter=8ex] \setupcaptions[location=top,inbetween

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Aditya Mahajan
of the ConTeXt philosophy, or I'm misreading the manual, or it's just a bug...? \setupfloat[figure] sets the values of \startplacefigure (and \placefigure), and not for \externalfigure. The width value for startplacefigure is not used anywhere. The default value of \setupfloats[width=...] is used when

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Mark Szepieniec
is not used anywhere. The default value of \setupfloats[width=...] is used when the float box is empty. So, the only scenario where the value of \setupfloats[width=...] will matter is the following: \starttext \setupfloats[width=2cm] \placefloat{}{} \setupfloats[width=10cm] \placefloat

[NTG-context] \placetable whitespace problem in columnset

2014-11-02 Thread Bryor Snefjella
I have a document using columnsets to place tables near an entry in a long list of sorts. The problem is that wherever I issue a \placetable \placefigure etc command, I get unwanted extra whitespace between entries where the command is issued. I have tried changing the parameters in \setupfloats

[NTG-context] Prevent page break in middle of paragraph

2014-10-17 Thread Ben Moon
][headstyle=normal, location=top, stopper={.}, width=\makeupwidth, style={\switchtobodyfont[11pt]}] \setuphead[section][style=\bfb] \setuphead[subsection][style=\bfa] \setupheads[indentnext=yes] \setupfloats[indentnext=yes] \setupheadertexts[][{\sl\getmarking[section]}][{\sl \getmarking[chapter

[NTG-context] Alignment, indenting and font inside floats

2014-07-28 Thread Joshua Krämer
] [serif] [Latin Modern Sans] \setupfloats [align=middle, style={\switchtobodyfont[figurefamily]}, indenting=no] \starttext \input knuth \startplacefigure Word \stopplacefigure \stoptext ___ If your question

Re: [NTG-context] Alignment, indenting and font inside floats

2014-07-28 Thread Rik Kabel
, \the\baselineskip] \definefontfamily [figurefamily] [serif] [Latin Modern Sans] \setupfloats [align=middle, style={\switchtobodyfont[figurefamily]}, indenting=no] \starttext \input knuth \startplacefigure Word \stopplacefigure \stoptext \setupexternalfigures[location={local,default

Re: [NTG-context] How to make floats extend into the outer margin

2014-07-24 Thread Joshua Krämer
regards, Joshua Krämer \setuppagenumbering[alternative=doublesided] \setuplayout[backspace=4cm,width=12cm] \definemeasure[Widetext][\textwidth+\rightmargindistance+\rightmarginwidth] \setupfloats[command=\FloatCommand] \define\FloatCommand {\dowithnextbox {\signalrightpage \ifdim

Re: [NTG-context] Figure whitespace overflows page

2014-07-20 Thread Rik Kabel
On 2014-03-26 19:35, Rik Kabel wrote, originally with the subject Caption whitespace overflows page: How can I get rid of the space at the top of the first line of text on page three in the following MWE. The \setupfloats[spaceafter=none] masks the problem rather than addresses the problem

Re: [NTG-context] Text around figure

2014-06-24 Thread Wolfgang Schuster
the \startfiguretext ... \stopfiguretext environment, although the effect is not the same. I send an example. \setupfloats [sidespacebefore=none, sidespaceafter=none] \starttext \placefigure[left,none]{}{\blackrule[width=3cm,height=4cm]} \input knuth \stoptext Wolfgang

Re: [NTG-context] Text around figure

2014-06-24 Thread MANUEL GONZALEZ SUAREZ
that in ConTeXt we only can use the \startfiguretext ... \stopfiguretext environment, although the effect is not the same. I send an example. \setupfloats [sidespacebefore=none, sidespaceafter=none] \starttext \placefigure[left,none]{}{\blackrule[width=3cm,height=4cm]} \input knuth \stoptext Wolfgang

Re: [NTG-context] Vertical alignment of \placefigure[right]

2014-05-07 Thread Sanjoy Mahajan
I use high in combination with zero spacing afterwards, in order to tighten the text flowing around the figure. Compare the two variants below. (I confess to not knowing the difference between sidespaceafter and spaceafter, but both seem to have the same effect.) \starttext {\setupfloats

Re: [NTG-context] Vertical alignment of \placefigure[right]

2014-05-07 Thread Sanjoy Mahajan
with a baseline. The top can then protrude, if the height is not a multiple of the line height. But, if the figure heights are right, it would look good in combination with \setupfloats[sidespaceafter=0pt]. -Sanjoy \starttext \hrule \placefigure[right]{Caption}{\framed[width=5cm,height=4.3cm]{}} \input

[NTG-context] Caption whitespace overflows page

2014-03-26 Thread Rik Kabel
How can I get rid of the space at the top of the first line of text on page three in the following MWE. The \setupfloats[spaceafter=none] masks the problem rather than addresses the problem directly. Playing with the size of the figures (changing them to 3cm) shows that the caption text

[NTG-context] caption on layoutgrid

2013-03-02 Thread Eidenbenz Michael
hi all, is there a way to typeset a caption on the layout grid? thanks michael \showgrid \setuplayout [grid=yes] \starttext \setupfloats[figure][location=left] \setupcaption [figure] [location={low,right},width=fit] \input tufte \reservefigure[height=4cm,width

[NTG-context] Paragraph indentation after float

2013-01-23 Thread Marco Patzer
Hi, sometimes I get a paragraph indentation after a float and sometimes I don't. Example: \ctxlua{structures.lists.autoreorder = true} \setupindenting [yes, medium] \setupfloats[default=auto] \starttext \startchapter [title=Foo] \startplacefigure \externalfigure [cow] %% [height=21cm

Re: [NTG-context] ntg-style error

2012-06-06 Thread Taco Hoekwater
, before={\blank[halfline]}, after={}% ] \setuphead [subsubsubject][% style=\hfontiii, command=\runin, alternative=text, before={\blank[halfline]}% ]} % %%% floats \setupfloats [location=center, before={\ss}] \setupcaptions [headstyle={\ssbf

[NTG-context] [***SPAM***] Resetting Page Backgrounds

2012-04-18 Thread Raymond LeClair
, rightmargin=0.25in, topspace=0.5in, header=0.25in, headerdistance=1.0in, height=7.75in, footerdistance=0.25in, footer=0.25in] \setupwhitespace[small] \setupfloats[spacebefore=none] \setuppagenumbering[location=footer

[NTG-context] placefigure vs grid problem

2012-03-20 Thread Honza Hejzl
* ] \setupindenting[1em] \indenting[yes] \setupexternalfigures[] \setupfloats[spaceafter=none] \setupcaptions[location={bottom,left}] \setuptolerance[tolerant] \starttext \chapter{{Předmluva}} Za výstup projektu je také možno považovat i fakt, že ze studií vznikly a byly úspěšně obhájeny dvě diplomové

Re: [NTG-context] \placefigure padding

2012-03-11 Thread Wolfgang Schuster
Am 11.03.2012 um 04:12 schrieb Kip Warner: Hey list, The following minimal typesets a dummy figure. Note how there is about two lines of empty space below the figure. How do I control the amount of padding that surrounds the figure, such as the bottom? With \setupfloats [spacebefore

Re: [NTG-context] \placefigure padding

2012-03-11 Thread Kip Warner
On Sun, 2012-03-11 at 10:01 +0100, Wolfgang Schuster wrote: \setupfloats [spacebefore=, spaceafter=] you can control the space before and after the float, accepted are all values for \blank (dimensions and keywords). That's probably the command I need, but I can't find any useful

Re: [NTG-context] setupfloat[Myfloat] does not work

2012-02-07 Thread Wolfgang Schuster
=300pt] \starttext test \placeMyfigure{example}{{\externalfigure[foo][frame=off]}}% text \stoptext ConTeXt allows only a global values (\setupfloats) for spacebefore and spaceafter. This is only the current state and only Hans can answer why he made this decision. Wolfgang

Re: [NTG-context] Change the gap between image and caption

2011-11-26 Thread Jaroslav Hajtmar
[number=no,style=\ssxx] \setupfloats[spacebefore=none, spaceafter=none] % \starttext \input tufte \startplacefigure \startcombination[3*1] {\externalfigure[cow][frame=on,width=.3\textwidth]}{{\blank[.2cm]}This caption has to be more distanced.} {\externalfigure[cow][frame=on,width

[NTG-context] Change the gap between image and caption

2011-11-25 Thread Jaroslav Hajtmar
do gap somehow larger or smaller in externalfigure environment? See minimal example. Thanx Jaroslav \starttext \setupcaptions[number=no,style=\ssxx,inbetween={\blank[1cm]}] \setupfloats[spacebefore=none, spaceafter=none] % \input tufte \placefigure[here]{Here is farther caption

Re: [NTG-context] Change the gap between image and caption

2011-11-25 Thread Christian
={\blank[1cm]}] \setupfloats[spacebefore=none, spaceafter=none] % \input tufte \placefigure[here]{Here is farther caption} {\externalfigure[mill][type=jpg,metod=jpg,width=5cm,frame=on]} \input tufte \page \startTEXpage \startcombination[3*1] {\externalfigure[cow][frame

Re: [NTG-context] Change the gap between image and caption

2011-11-25 Thread Jaroslav Hajtmar
can be set in a floating environment (placefigure) using inbetween parameter. Is there possibilities do gap somehow larger or smaller in externalfigure environment? See minimal example. Thanx Jaroslav \starttext \setupcaptions[number=no,style=\ssxx,inbetween={\blank[1cm]}] \setupfloats

Re: [NTG-context] Change the gap between image and caption

2011-11-25 Thread Christian
you can also play around with included blanks. I don't know if this is a clean way, but it's working: \setupcaptions[number=no,style=\ssxx] \setupfloats[spacebefore=none, spaceafter=none] % \starttext \input tufte \startplacefigure \startcombination[3*1] {\externalfigure[cow][frame

[NTG-context] float names and lists

2011-11-24 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Consider the following: = \definefloat[tablecw] % \setupfloat[tablecw] \setupcaption[tablecw][prefix=Table] \starttext \setupfloats[location=middle] \placetable [here] [tablecw:test]{A Caption.} {\starttable[|c|c|c|] \HL \VL Test \VL Test

Re: [NTG-context] float names and lists

2011-11-24 Thread Idris Samawi Hamid ادريس سماوي حامد
\placelistoffloatswith 's' at the end. Now it's just\placelistoffloatSo the following now works:\definefloat[tablecw] \setuplabeltext[tablecw=Table]\starttext \setupfloats[location=middle] \placetable [here] [tablecw:test]{A Regular Caption.} {\starttable[|c|c|c|]\HL \VL Test \VL

Re: [NTG-context] math signs in itemize

2011-09-25 Thread R. Ermers
=small,color=red,distance=5mm] \hyphenation{ver-ant-woor-de-lijk-heid} \setupindenting[yes,medium,first] \setupfloats[indentnext=no] \setupfootnotedefinition[location=left,distance=1em,headalign=flushleft] \setupnote[footnote][textstyle=,numbercommand=,margindistance=8mm,rule=off,before=,interaction

Re: [NTG-context] Frame around float and its caption, how to?

2011-09-25 Thread Wolfgang Schuster
with a frame around it. Found this in my mail archive: % engine=pdftex \setupexternalfigures[location={local,global,default}] \setupfloats[frame=on,frameoffset=1mm] \starttext \section{A figure with a background} \placefigure {none} {\placelegend {\externalfigure[mill][scale=2000

Re: [NTG-context] Frame around float and its caption, how to?

2011-09-25 Thread Stefan Müller
[width=\textwidth] \starttext \placefigure[here]{\input tufte}{\externalfigure[cow]} \stoptext with a frame around it. Found this in my mail archive: % engine=pdftex \setupexternalfigures[location={local,global,default}] \setupfloats[frame=on,frameoffset=1mm] \starttext \section{A figure

[NTG-context] Captions' alignment

2011-09-06 Thread Honza Hejzl
] \showgrid[yes] \setuppagenumbering[location=footer] \setupexternalfigures[] \def\myblank{\blank[5pt]} \definefont[headcap][SerifBold at 7pt] \definefont[bodycap][SerifItalic at 7pt] \definefloat[pic][pics] \setupfloat[pic][location=right] \setupfloats[spacebefore=none,frame=on,spaceafter=none

Re: [NTG-context] Lilypond

2011-08-20 Thread David Wooten
textwidth is equal to the Lilypond line-width, aligning the float to the right gives you a snippet nicely aligned with flush text (extra-staff material being pushed towards the left margin). Something like this (as in the example in the garden): \def\readlilypondoutput#1{\setupfloats[location

Re: [NTG-context] Placing figures flush right and captions in the margin

2011-06-15 Thread Hans Hagen
. I've tried \setupfloats[ location=right] \setupcaptions[ location=rightmargin, align=flushleft, headstyle=\tfx, style=\tfx] Considering the overall activity on the list since I posted the question, can I assume that these options simply have not been implemented yet? Did you check

Re: [NTG-context] Placing figures flush right and captions in the margin

2011-06-15 Thread Christoph Redecker
, ragged right. It is a one-sided document. I've tried \setupfloats[ location=right] \setupcaptions[ location=rightmargin, align=flushleft, headstyle=\tfx, style=\tfx] Considering the overall activity on the list since I posted the question, can I assume that these options simply have not been

Re: [NTG-context] Placing figures flush right and captions in the margin

2011-06-14 Thread Christoph Redecker
On 13.06.2011 16:14, Christoph Redecker wrote: Hi, I want to place my figures flush right, so that they are aligned with the right border of my text area. Captions should be in the right margin, flush left, ragged right. It is a one-sided document. I've tried \setupfloats[ location=right

[NTG-context] Placing figures flush right and captions in the margin

2011-06-13 Thread Christoph Redecker
Hi, I want to place my figures flush right, so that they are aligned with the right border of my text area. Captions should be in the right margin, flush left, ragged right. It is a one-sided document. I've tried \setupfloats[ location=right] \setupcaptions[ location

Re: [NTG-context] Indent paragraph after \placefigure

2011-03-27 Thread Wolfgang Schuster
Am 27.03.2011 um 00:22 schrieb Marco: On 2011-03-27 Pontus Lurcock p...@talvi.net wrote: On Sat 26 Mar 2011, Marco wrote: How to indent the paragraph after a \placefigure? http://wiki.contextgarden.net/Reference/en/setupindenting says that \setupfloats[indentnext=yes] should give

Re: [NTG-context] Indent paragraph after \placefigure

2011-03-27 Thread Marco
/Reference/en/setupindenting says that \setupfloats[indentnext=yes] should give the desired result. (I haven't tested it, though.) According to the manual \setupfloats[indentnext=yes] is the default behaviour. But it's not working, same result here: It works when you drop the “auto

Re: [NTG-context] Indent paragraph after \placefigure

2011-03-26 Thread Pontus Lurcock
On Sat 26 Mar 2011, Marco wrote: How to indent the paragraph after a \placefigure? http://wiki.contextgarden.net/Reference/en/setupindenting says that \setupfloats[indentnext=yes] should give the desired result. (I haven't tested it, though.) Pont

Re: [NTG-context] Indent paragraph after \placefigure

2011-03-26 Thread Marco
On 2011-03-27 Pontus Lurcock p...@talvi.net wrote: On Sat 26 Mar 2011, Marco wrote: How to indent the paragraph after a \placefigure? http://wiki.contextgarden.net/Reference/en/setupindenting says that \setupfloats[indentnext=yes] should give the desired result. (I haven't tested

Re: [NTG-context] Indent paragraph after \placefigure

2011-03-26 Thread Pontus Lurcock
Sorry, I think I misunderstood the problem the first time (since I didn't actually run your example until now). \setupfloats[indentnext=yes] (as I understand it) controls the behaviour after the float is actually placed in the output, rather than after the \placefigure... in the source. I'd

Re: [NTG-context] Indent paragraph after \placefigure

2011-03-26 Thread Marco
On 2011-03-27 Pontus Lurcock p...@talvi.net wrote: Sorry, I think I misunderstood the problem the first time (since I didn't actually run your example until now). \setupfloats[indentnext=yes] (as I understand it) controls the behaviour after the float is actually placed in the output, rather

Re: [NTG-context] Unwanted spaces removing

2010-12-10 Thread Johannes Graumann
\setupknowledge[gaps=none] ;) Joh Jaroslav Hajtmar wrote: Great. How easy!!! It works very well now! I have gaps in basic knowledges ... Thanx very much to Peter !!! Jaroslav Hajtmar Dne 7.12.2010 13:09, Peter Münster napsal(a): \setupfloats[spacebefore=none, spaceafter=none

Re: [NTG-context] Unwanted spaces removing

2010-12-07 Thread Peter Münster
On Tue, Dec 07 2010, Jaroslav Hajtmar wrote: For some reason I need to use \placefigure environment in such a way that no space are before and after this environment (eg space for image caption under image). \setupfloats[spacebefore=none, spaceafter=none] \starttext \input knuth

Re: [NTG-context] Unwanted spaces removing

2010-12-07 Thread Jaroslav Hajtmar
Great. How easy!!! It works very well now! I have gaps in basic knowledges ... Thanx very much to Peter !!! Jaroslav Hajtmar Dne 7.12.2010 13:09, Peter Münster napsal(a): \setupfloats[spacebefore=none, spaceafter=none] \starttext \input knuth \placefigure[here, none]{}{\externalfigure[cow

[NTG-context] Indent after Float

2010-12-01 Thread Andreas Harder
Hi all, please consider the following example: \setupindenting[big,yes] \setupfloats[indentnext=yes] % default: no \def\TestFloatPlacement#1% {\input tufte \par \placefigure[#1,nonumber]{place=#1}{} \dorecurse{2}{\input tufte \par} \page} \starttext \TestFloatPlacement{top

Re: [NTG-context] Indent after Float

2010-12-01 Thread Andreas Harder
Am 01.12.2010 um 13:02 schrieb Andreas Harder: Hi all, please consider the following example: \setupindenting[big,yes] \setupfloats[indentnext=yes] % default: no \def\TestFloatPlacement#1% {\input tufte \par \placefigure[#1,nonumber]{place=#1}{} \dorecurse{2}{\input tufte \par

Re: [NTG-context] Set the space after a figure?

2010-11-25 Thread Mojca Miklavec
= mediaum], - you may not use any space; you would need to write spaceafter=medium and not spaceafter = medium - medium is misspelled - I suspect that spaceafter is only for setupfloats, not for setupfloat, but I didn't really try or read the source; so maybe \setupfloats[spaceafter=medium] could work

[NTG-context] indentnext after \placefigure[page]

2010-11-19 Thread Marco Pessotto
Hello there. I'm struggling with the indentnext parameter. Please see the next minimal example: %%% start minimal \setupindenting[yes, medium, first] \setupheads[indentnext=yes] \setupfloats[indentnext=yes] \starttext \placefigure [here,nonumber]{}{\externalfigure[dummy]} test test

[NTG-context] columnset - float vertical spacing

2010-09-30 Thread Jan Pohanka
Hello, I need to reduce vertical spacing around floats in columnset. I have tried \setupfloats command as in example below, but without succes. And what about columns balancing? I have read the columns.pdf manual, but I don't understand it clearly. [balance=yes] does not balance

Re: [NTG-context] columnset - float vertical spacing

2010-09-30 Thread Jan Pohanka
I forgot. I'm using MKIV. Dne Thu, 30 Sep 2010 12:57:05 +0200 Jan Pohanka xhpoha...@gmail.com napsal(a): Hello, I need to reduce vertical spacing around floats in columnset. I have tried \setupfloats command as in example below, but without succes. And what about columns balancing? I

[NTG-context] Indent after \placefigure

2010-09-10 Thread Andreas Harder
Hello, if one uses the right-option in \placefigure the paragraph indent is omitted. Example: \setupindenting[small,yes,next] \setupfloats[indentnext=yes] % no effect \starttext \input tufte \par \placefigure [right]{caption} {\framed[width=5cm,height=3cm]{some figure}} \input tufte \par

Re: [NTG-context] Indent after \placefigure

2010-09-10 Thread Marius
Hello, see here http://tracker.luatex.org/view.php?id=403 On 10 September 2010 16:15, Andreas Harder andreas.har...@rz-online.de wrote: Hello, if one uses the right-option in \placefigure the paragraph indent is omitted. Example: \setupindenting[small,yes,next] \setupfloats[indentnext

[NTG-context] page numbering with make-up-pages

2010-06-17 Thread Vyatcheslav Yatskovsky
% --- - % % \setupindenting[yes, big, first] \setupheads[indentnext=yes] \setupfloats[indentnext=yes] \setuphead[section][textstyle=WORD, style={\bfa}, align=center] \setuphead[subsection][textstyle={}, style={\bf}, align=right] \setuphead[subsubsection

[NTG-context] Removing Introduction section number

2010-06-06 Thread Vyatcheslav Yatskovsky
\setupindenting[yes, big, first] \setupheads[indentnext=yes] \setupfloats[indentnext=yes] \setuphead[section][number=no] \section{INTRODUCTION} % should have no number The syllabus on each discipline is a must for successful teaching process organization according to the European Credit Transfer System

Re: [NTG-context] Problem with identation

2010-05-21 Thread Marius
at 7:11 PM, Hans Hagen pra...@wxs.nl wrote: On 20-5-2010 5:48, Aditya Mahajan wrote: On Thu, 20 May 2010, Hans Hagen wrote: On 20-5-2010 10:51, Marius wrote: \setupindenting[yes,7mm] \setupfloats[indentnext=yes] \starttext \input tufte \input knuth \placefigure [bottom,top][] {Title

Re: [NTG-context] Problem with identation

2010-05-21 Thread Peter Münster
On Wed, May 19 2010, Marius wrote: \setupfloats[indentnext=yes] has no effect in the example below? I expect the line 6 above figure to be indented. \placefigure [bottom,top][] Strange, there is no such problem when you write top,bottom! Cheers, Peter -- Contact information: http

Re: [NTG-context] Problem with identation

2010-05-20 Thread Marius
]. [1] http://www.ntg.nl/pipermail/ntg-context/2010/046799.html [2] http://tracker.luatex.org/my_view_page.php On Wed, May 19, 2010 at 6:30 PM, Marius mariau...@gmail.com wrote: Hello, \setupfloats[indentnext=yes] has no effect in the example below? I expect the line 6 above figure to be indented

Re: [NTG-context] Problem with identation

2010-05-20 Thread Hans Hagen
On 20-5-2010 10:51, Marius wrote: \setupindenting[yes,7mm] \setupfloats[indentnext=yes] \starttext \input tufte \input knuth \placefigure [bottom,top][] {Title} {\externalfigure[cow][width=0.6\textwidth]} \input tufte \input knuth by the time you place the figure

Re: [NTG-context] Problem with identation

2010-05-20 Thread Aditya Mahajan
On Thu, 20 May 2010, Hans Hagen wrote: On 20-5-2010 10:51, Marius wrote: \setupindenting[yes,7mm] \setupfloats[indentnext=yes] \starttext \input tufte \input knuth \placefigure [bottom,top][] {Title} {\externalfigure[cow][width=0.6\textwidth]} \input tufte \input knuth

Re: [NTG-context] Problem with identation

2010-05-20 Thread Hans Hagen
On 20-5-2010 5:48, Aditya Mahajan wrote: On Thu, 20 May 2010, Hans Hagen wrote: On 20-5-2010 10:51, Marius wrote: \setupindenting[yes,7mm] \setupfloats[indentnext=yes] \starttext \input tufte \input knuth \placefigure [bottom,top][] {Title} {\externalfigure[cow][width=0.6\textwidth

[NTG-context] Problem with identation

2010-05-19 Thread Marius
Hello, \setupfloats[indentnext=yes] has no effect in the example below? I expect the line 6 above figure to be indented. == \setupindenting[yes,7mm] \setupfloats[indentnext=yes] \starttext \input tufte \input knuth \placefigure [bottom,top][] {Title

[NTG-context] Floats broken under some circumstances

2010-02-21 Thread Vyatcheslav Yatskovsky
Hi, Weird, but when I use rather big linespace \setupinterlinespace[line=28pt] and set \setupfloats[spaceafter=medium], then the error rises. With less interlinespace value or without spaceafter all works ok. !pages : flushing realpage 1, userpage 1, subpage 1 floatblocks : 1 moved

Re: [NTG-context] Floats broken under some circumstances

2010-02-21 Thread Wolfgang Schuster
Am 21.02.10 21:37, schrieb Vyatcheslav Yatskovsky: Hi, Weird, but when I use rather big linespace \setupinterlinespace[line=28pt] and set \setupfloats[spaceafter=medium], then the error rises. With less interlinespace value or without spaceafter all works ok. Can you send a example. Wolfgang

Re: [NTG-context] Floats broken under some circumstances

2010-02-21 Thread Wolfgang Schuster
Am 21.02.10 21:37, schrieb Vyatcheslav Yatskovsky: Hi, Weird, but when I use rather big linespace \setupinterlinespace[line=28pt] and set \setupfloats[spaceafter=medium], then the error rises. With less interlinespace value or without spaceafter all works ok. Found the culprit. From strc

Re: [NTG-context] indent lost after \placefigure

2010-02-11 Thread Taco Hoekwater
Alan BRASLAU wrote: Furthermore, \setupfloats [indentnext=yes] is somewhat strange. I suppose that it might make sense not to indent a new paragraph following a section title, etc. but does it really make sense not to indent a NEW paragraph following a break such as a displayed figure, table

Re: [NTG-context] indent lost after \placefigure

2010-02-11 Thread Alan BRASLAU
, indentation of at least one of the paragraphs, generally the one coming after the figure, is lost. It appears that this has been a problem for some people over the years. \setupfloats[indentnext=yes] An opposite feature is also strange - minimal example: \setupindenting [medium,yes

Re: [NTG-context] indent lost after \placefigure

2010-02-11 Thread Alan BRASLAU
] \setupfloats [indentnext=auto] \starttext \input knuth \placefigure [here] {none} {\externalfigure [cow]} \input knuth \stoptext Doesn't work, but \setupfloats [indentnext=yes] forces knuth after the figure to be indented. Alan PS: Your opinion is not so humble, and I do not really see the rational

Re: [NTG-context] indent lost after \placefigure

2010-02-11 Thread Tom
to this entire thread -- minimal example: \setupindenting [medium,yes] \setupfloats [indentnext=auto] \starttext \input knuth \placefigure [here] {none} {\externalfigure [cow]} \input knuth \stoptext Doesn't work, but \setupfloats [indentnext=yes] forces knuth after the figure to be indented. Alan PS

Re: [NTG-context] indent lost after \placefigure

2010-02-10 Thread Wolfgang Schuster
a problem for some people over the years. \setupfloats[indentnext=yes] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl

  1   2   >